package domian;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class File {
    private Integer id;//文件id
    private String f_title;//文件标题
    private String f_name;//文件名称
    private Integer f_classId;//文件分类
    private Integer f_userId;//文件作者id
    private String f_describe;//文件描述
    private String f_lable;//文件标签
    private Double f_size;//文件大小
    private Integer f_total;//下载数量
    private Integer f_view;//文件浏览量
    private String f_uploadTime;//上传时间
    private Integer f_integral;//所需积分

    public File(String f_title, String f_name, Integer f_classId, Integer f_userId, String f_describe, String f_lable, Double f_size, Integer f_total, Integer f_view, String f_uploadTime, Integer f_integral) {
        this.f_title = f_title;
        this.f_name = f_name;
        this.f_classId = f_classId;
        this.f_userId = f_userId;
        this.f_describe = f_describe;
        this.f_lable = f_lable;
        this.f_size = f_size;
        this.f_total = f_total;
        this.f_view = f_view;
        this.f_uploadTime = f_uploadTime;
        this.f_integral = f_integral;
    }
}
